package com.mifengs.mall.netWork.api;

import com.mifengs.mall.Constant;
import com.mifengs.mall.entity.MsgBean;
import com.mifengs.mall.entity.ResponseBean;

import java.util.Map;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by lynn on 2018/1/16.
 */

public interface MyMsgApi {

    @FormUrlEncoded
    @POST(Constant.MY_MSG)
    Observable<ResponseBean<MsgBean>> getMyMsg(
            @FieldMap Map<String,Object> map
    );

}
